package com.smartleanx.module.hrm.controller.admin.payroll.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "管理后台 - 薪资审批记录新增/修改 Request VO")
@Data
public class PayrollDetailCommonReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "22919")
    private List<Long> ids;

    @Schema(description = "薪资月份ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30646")
    @NotNull(message = "薪资月份ID不能为空")
    private Long payrollId;
}